package com.kaili.basic.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.kaili.common.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Desc:
 * @author: jianfeng
 * @Time: 2019/7/30 11:04
 * @Copyright: © 2018 杭州凯立通信有限公司 版权所有
 * @Warning: 本内容仅限于公司内部传阅, 禁止外泄或用于其它商业目的
 */

@Data
@ApiModel(description = "推送管理")
@TableName("mdm_push")
public class MdmPushEntity extends BaseEntity {

    @ApiModelProperty("主键id自增长")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("机构id")
    private Integer orgId;

    @ApiModelProperty("策略id")
    private Integer strategyId;

    @ApiModelProperty("策略类型")
    private String strategyType;

    @ApiModelProperty(value = "是否推送：0未推送，1已推送",hidden = true)
    private Integer isPush;

    @ApiModelProperty(value = "数据状态：0删除，1正常",hidden = true)
    private String rdStatus;

    @ApiModelProperty("关联表id")
    @TableField(exist = false)
    private List<MdmPushPushgroupEntity> psp;

}
